package org.dev.vlp.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.dev.vlp.entity.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
* @author 86184
* @description 针对表【vlp_user】的数据库操作Mapper
* @createDate 2023-01-03 13:41:08
* @Entity org.dev.vlp.entity.User
*/
@Mapper
public interface UserMapper extends BaseMapper<User> {
    void updateCommentUnread(@Param("userId") Long userId, @Param("count") int count);

    void clearCommentUnread(@Param("userId") Long userId);

    void updateAtUnread(@Param("userId") Long userId, @Param("count") int count);

    void clearAtUnread(@Param("userId") Long userId);

    void updateNotificationUnread(@Param("userId") Long userId,@Param("count") int count);

    void clearNotificationUnread(@Param("userId") Long userId);
}




